Skip to content

Conversation

@mattcreaser
Copy link
Member

  • PR title and description conform to Pull Request guidelines.

Issue #, if available: #3135

Description of changes:

  • Adds missing state transitions from autoSignIn state to handle MFA, among other things.
  • Consolidates the state decoding logic across signIn, confirmSignIn, and autoSignIn.

How did you test these changes?

  • Tests pass
  • Manually verified various sign in flows including TOTP setup and TOTP + SMS MFA.

Documentation update required?

  • No
  • Yes (Please include a PR link for the documentation update)

General Checklist

  • Added Unit Tests
  • Added Integration Tests
  • Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
  • Ensure commit message has the appropriate scope (e.g fix(storage): message, feat(auth): message, chore(all): message)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mattcreaser mattcreaser requested a review from a team as a code owner October 9, 2025 17:14
@codecov
Copy link

codecov bot commented Oct 9, 2025

Codecov Report

❌ Patch coverage is 77.50000% with 36 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.32%. Comparing base (71771e4) to head (3021aad).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3138      +/-   ##
==========================================
+ Coverage   54.26%   54.32%   +0.05%     
==========================================
  Files        1040     1041       +1     
  Lines       32082    31926     -156     
  Branches     4726     4708      -18     
==========================================
- Hits        17410    17344      -66     
+ Misses      12826    12745      -81     
+ Partials     1846     1837       -9     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mattcreaser mattcreaser merged commit ef37f18 into main Oct 16, 2025
17 checks passed
@mattcreaser mattcreaser deleted the mattcreaser/autosignin-state-transitions branch October 16, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants